let vm = new Vue({
    el: '.main-content',
    data: {
        appInfo: {}
    },
    methods: {

        findById: function (id) {
            console.log("拿到id:" + id);
            axios.get("/guguanjia/admin/work/selectById?id=" + id).then(function (resp) {
                vm.$data.appInfo = resp.data;
            })

        }
    },

});

function abc(data) {
    vm.findById(data)
}

